package com.zy.designpattern;

public class Sub2Template extends Template {

    @Override
    public void code() throws InterruptedException {
        System.out.println("我是Sub2Template。。2222");
        Thread.sleep(3000);
    }
}